package multiimpl;

public class UserServiceImpl implements UserService,AccountService {
    @Override
    public void insertUser() {
        System.out.println("insert user");
    }

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();
        userService.insertUser();

        AccountService accountService = new UserServiceImpl();
        accountService.insertUser();
    }
}
